<?php


namespace App\common\Listeners;


class Plugin
{

    /**
     * 为订阅者注册监听器.
     *
     * @param  Illuminate\Events\Dispatcher  $events
     */
    public function subscribe($events)
    {

        // license::ListenersPlugin($events);
        $events->listen(
            'App\common\Events\ThirdPartyLogin',
            'App\common\Plugins\ThirdPartyLogin\Listeners\ThirdPartyLogin@callBack'
        );

    }

}
